package com.zdy.im.user.dto.response;


import java.io.Serializable;

import com.sixeco.framework.common.api.ApiDesc;
import com.sixeco.framework.common.data.BaseEntity;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;


/**
* @ClassName: ImMessageReadResponseDto.java
* @Description: 消息状态表的数据交互处理类
* @author x
* @date   2021-05-24 20:29:06
* @version V1.0.0
* <p>
* ----------------------------------------------------------------------------
*  modifyer    modifyTime                 comment
*
* ----------------------------------------------------------------------------
* </p>
*/
public class ImMessageReadResponseDto  extends BaseEntity implements Serializable {

        private Logger logger = LoggerFactory.getLogger(ImMessageReadResponseDto.class);


 		/** userId 用户id  */
 		@ApiDesc(value = "用户id", required = 0)
 		private long userId;

 		/** messageId 用户id，群组id  */
 		@ApiDesc(value = "用户id，群组id", required = 0)
 		private long messageId;

 		/** globalId 全局消息id  */
 		@ApiDesc(value = "全局消息id", required = 0)
 		private long globalId;

 		/** type 1用户 0 群组  */
 		@ApiDesc(value = "1用户 0 群组", required = 0)
 		private int type;


        public static ImMessageReadResponseDto build(){
                return new ImMessageReadResponseDto();
        }

 		public void setUserId( long userId){
 		 		this.userId = userId ; 
 		 		}
 		public ImMessageReadResponseDto toUserId( long userId){
 		 		this.userId = userId ; 
 		 		 return this ;
 		}

 		public long getUserId(){
 		 		return this.userId;
 		}
 		public void setMessageId( long messageId){
 		 		this.messageId = messageId ; 
 		 		}
 		public ImMessageReadResponseDto toMessageId( long messageId){
 		 		this.messageId = messageId ; 
 		 		 return this ;
 		}

 		public long getMessageId(){
 		 		return this.messageId;
 		}
 		public void setGlobalId( long globalId){
 		 		this.globalId = globalId ; 
 		 		}
 		public ImMessageReadResponseDto toGlobalId( long globalId){
 		 		this.globalId = globalId ; 
 		 		 return this ;
 		}

 		public long getGlobalId(){
 		 		return this.globalId;
 		}
 		public void setType( int type){
 		 		this.type = type ; 
 		 		}
 		public ImMessageReadResponseDto toType( int type){
 		 		this.type = type ; 
 		 		 return this ;
 		}

 		public int getType(){
 		 		return this.type;
 		}







}
